package com.cuteboy.vo;

import com.cuteboy.entity.SysRole;
import com.cuteboy.util.Constants;
import com.cuteboy.vo.Page;

public class ResponseVO {
    private Integer code = Constants.ResponseVo.Code.SUCCEESS;

    private String msg = Constants.ResponseVo.msg.ERROR;

    private Integer count;

    private Object data = "{}";

    public ResponseVO(Integer code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public ResponseVO(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ResponseVO(Integer code, String msg, Integer count, Object data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
